<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="/tags/c" prefix="c"%>
<%
    String path = request.getContextPath();
%>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" "http://www.wapforum.org/DTD/xhtml-mobile10.dtd">

<head>
	<meta name="keywords" content="<%=session.getAttribute("keywords") %>" />
    <meta name="description" content="<%=session.getAttribute("description") %>" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>专家查询</title>
	<!--must have for everypage-->
	<!--<link type="text/css" href="<%=path%>/css/wap.css" rel="stylesheet" />
-->
	<link type="text/css" href="<%=path%>/css/wap.css" rel="stylesheet" />
</head>
<body>
<%=session.getAttribute("headerContentWeb")%>
	<div class="wap">
		<!--宽度分彩板：240px和炫版320px-->
		<!--  <p style="padding:5px;border:1px dotted #DCDCDC; margin:5px 0px;"> 当前位置： <a href="" style="color:#FFDC45">首页</a> > <a href="" style="color:#FFDC45">首页</a> > 登录 </p>
-->
		<div class="navW">
			<div class="marginAout navIn">
				<span><a href="<%=path%>/wap/index.jsp?portaltype=1&version=2&areacode=<%=session.getAttribute("areacode") %>">预约管理</a>
				</span>
				<span class="current">
				<a href="<%=request.getContextPath()%>/wap/doctorAction.do?method=initSearch_s1">预约挂号</a>
				</span>
				<span>
				<a href="<%=request.getContextPath()%>/wap/guide.jsp?portaltype=1&version=2&areacode=<%=session.getAttribute("areacode") %>">用户指南</a>
				</span>
			</div>
		</div>
		<form name="form1" method="post"
			action="<%=path%>/wap/doctorAction.do?method=searchDoc&portaltype=1&version=2&areacode=<%=session.getAttribute("areacode")%>">
			<div class="tab_content">
				<p class="notice">
					请填写相关信息
				</p>
				<p>
					医院：${hospital_name}
				</p>
				<p>

					<input type="hidden" name="hospital_name" value="${hospital_name}" />
					<input type="hidden" name="hospital_id" value="${hospital_id}" />
				</p>
				<p>
					科室：
				</p>
				<p>
					<select name="section_id" class="select1">
						${secOptions }
					</select>
				</p>
				
				<p>
					日期：
				</p>
				<p>
					<select name="date" class="select1">
						${dateOptions}
					</select>
				</p>
				<p>
					医生：
				</p>
				<p>
					<input type="text" name="name" value="${name}" class="input_text">
				</p>
				<p class="text_center">
					<input type="submit" name="submit" value="查 询" class="login_btn">
				</p>
			</div>


		</form>
		<div class="h_div">
			<h1 class="h1">
				医生列表
			</h1>
		</div>
		<!--LIST START-->
		<c:forEach items="${list}" var="item">
			<div class="list">
				<div class="photo">
					<a
						href="<%=path%>/wap/doctorAction.do?method=searchDocInfo&doctor_id=${item.id}&date=${date}&ds_id=${item.ds_id}">
						<img width="80" height="100" border="0" src="${item.path }">
					</a>
				</div>
				<p>
					姓&nbsp;&nbsp;&nbsp;&nbsp;名：
					<a
						href="<%=path%>/wap/doctorAction.do?method=searchDocInfo&doctor_id=${item.id}&date=${date}&ds_id=${item.ds_id}">
						<b>${item.name }</b> </a>
				</p>
				<p>
					所属医院：${item.hos_name }
				</p>
				<p>
					科&nbsp;&nbsp;&nbsp;&nbsp;室：${item.sec_name }
				</p>
				<p>
					职&nbsp;&nbsp;&nbsp;&nbsp;称：${item.pro_title_cn }
				</p>
				<p>
					出诊时间：
					<font color="#fc4519">${item.batch_cn }
					</font> </p>
				<div>
					<a href="<%=path%>/wap/reserve.do?method=apply&ds_id=${item.ds_id}"
						class="btnN">立刻预约</a>
				</div>
				<p class="line_wap">
					&nbsp;
				</p>
			</div>
		</c:forEach>
		<!--LIST END-->
		${pageLinks }
	</div>
<%=session.getAttribute("footerContentWeb")%>
</body>
</html>